<!--登录表单-->

								<form method="post" action="<?php 
$k = array (
  'name' => 'url_pack',
  'value' => 'user#dologin',
);
echo $k['name']($k['value']);
?>" name="reg_form">
								<div class="field email">
									<label for="login-email-address"><?php echo $this->_var['LANG']['USER_TITLE_EMAIL']; ?>/<?php echo $this->_var['LANG']['USER_TITLE_USER_NAME']; ?></label>
									<input type="text" value="" class="f-input" id="login-email-address" name="email" size="30" tabindex="1">
								</div>
								<div class="clear"></div>
								<div class="field password">
									<label for="login-password"><?php echo $this->_var['LANG']['USER_TITLE_USER_PWD']; ?></label>
									<input type="password" value="" class="f-input" id="login-password" name="user_pwd" size="30" tabindex="2">
									<span class="lostpassword"> <a href="<?php 
$k = array (
  'name' => 'url_pack',
  'value' => 'user#getpassword',
);
echo $k['name']($k['value']);
?>"><?php echo $this->_var['LANG']['FORGET_PASSWORD']; ?></a></span> </div>
								<div class="field autologin">
									<?php echo $this->_var['LANG']['AUTO_LOGIN']; ?><input type="checkbox" id="autologin" name="auto_login" value="1" tabindex="3">
									
								</div>
								<div class="clear"></div>
								<div class="act">
									<input type="hidden" name="ajax" value="<?php echo $this->_var['ajax']; ?>">
									<input type="submit" class="formbutton" id="login-submit" name="commit" value="<?php echo $this->_var['LANG']['LOGIN']; ?>">
									<input type="button" class="formbutton" id="login-submit" name="commit" value="<?php echo $this->_var['LANG']['REGISTER']; ?>" onclick="location.href='<?php 
$k = array (
  'name' => 'url_pack',
  'value' => 'user#register',
);
echo $k['name']($k['value']);
?>';" />
								</div>
							</form>
<!--登录表单-->	
<script type="text/javascript">
$(document).ready(function(){
$("#login-submit").click(function(){
		
		if($.trim($("#login-email-address").val()).length == 0)
		{
			$.showErr("<?php 
$k = array (
  'name' => 'sprintf',
  'format' => $this->_var['LANG']['FORMAT_ERROR_TIP'],
  'value' => $this->_var['LANG']['USER_TITLE_EMAIL'],
);
echo $k['name']($k['format'],$k['value']);
?><?php echo $this->_var['LANG']['OR']; ?><?php 
$k = array (
  'name' => 'sprintf',
  'format' => $this->_var['LANG']['FORMAT_ERROR_TIP'],
  'value' => $this->_var['LANG']['USER_TITLE_USER_NAME'],
);
echo $k['name']($k['format'],$k['value']);
?>");
			$("#login-email-address").focus();
			return false;
		}

		if(!$.minLength($("#login-password").val(),4,false))
		{
			$.showErr("<?php 
$k = array (
  'name' => 'sprintf',
  'format' => $this->_var['LANG']['FORMAT_ERROR_TIP'],
  'value' => $this->_var['LANG']['USER_TITLE_USER_PWD'],
);
echo $k['name']($k['format'],$k['value']);
?>");
			$("#login-password").focus();
			return false;
		}
	});	
});
</script>
